﻿CREATE TABLE [dbo].[Stoploss] (
    [StoplossID]     INT        IDENTITY (1, 1) NOT NULL,
    [StoplossTypeID] INT        NULL,
    [TransactionID]  INT        NULL,
    [CurrentValue]   SMALLMONEY NULL,
    CONSTRAINT [PK_Stoploss] PRIMARY KEY CLUSTERED ([StoplossID] ASC),
    CONSTRAINT [FK_Stoploss_Transaction] FOREIGN KEY ([TransactionID]) REFERENCES [dbo].[Transaction] ([TransactionID])
);

